const CONFIG = {
	//开发环境配置
	development: {
		test: true,
		baseUrl: 'https://www.lanxiangpz.com', // 
		shopToken: 0,
	},
	//生产环境配置
	production: {
		test: false,
		baseUrl: 'https://www.lanxiangpz.com', // 
		shopToken: 0,
		// #ifdef H5
		baseUrl: window.location.href.split('/web')[0],
		// #endif
	}
};
let obj = CONFIG[process.env.NODE_ENV]
obj.updateUrl = obj.baseUrl + '/download2' // app更新域名
// #ifdef H5
let baseUrl = uni.getStorageSync('baseUrl') || ''
if (baseUrl) obj.baseUrl = baseUrl
// #endif
export default obj;
